$(function(){
	sturesult();
})
function sturesult(){
	$.ajax({
		url:"/blackhouse/classcj",
		type:"post",
		dataType:"json",
		success : function(e) {
			var html = "";
            for(var i = 0;i<e.length;i++){
            	html+="<tr>";
            	html+="<td>"+e[i].stuCode+"</td>";
            	html+="<td>"+e[i].stuName+"</td>";
            	html+="<td>"+e[i].subjectName+"</td>";
            	html+="<td>"+e[i].result+"分</td>";
            	html+="</tr>"
            }
            $("#result-tbody").html(html);
		}
	})
}
